﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo02
{
    public  class MyGoods
    {
        private string _barcode;
        public string BarCode
        {
            get
            {
                return _barcode;
            }
            set
            {
                _barcode = value;
            }
        }

        private string _goodsname;
        public string GoodsName
        {
            get
            {
                return _goodsname;
            }
            set
            {
                _goodsname = value;
            }
        }

        private int _goodsamount;
        public int GoodsAmount
        {
            get
            {
                return _goodsamount;
            }
            set
            {
                _goodsamount = value;
            }
        }

        private string _goodsdate;
        public string GoodsDate
        {
            get
            {
                return _goodsdate;
            }
            set
            {
                _goodsdate = value;
            }
        }
    }
}
